package com.itjin.health.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.itjin.health.domain.entity.OfflineAssessmentAppointment;
import com.itjin.health.domain.entity.OnlineAssessmentAppointment;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class InjuryReportDetailVO implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 伤病报告ID
   */
  private Integer id;

  /**
   * 用户ID
   */
  private Integer userId;

  /**
   * 学生姓名
   */
  private String username;


  /**
   *学号
   */
  private String studentNumber;

  /**
   * 标题
   */
  private String title;

  /**
   * 身体部位
   */
  private String bodyPart;

  /**
   * 严重程度
   */
  private String severity;

  /**
   * 描述
   */
  private String description;

  /**
   * 标签
   */
  private String tags;

  /**
   * 受伤时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime injuryTime;

  /**
   * 图片1
   */
  private String injuryImage1;

  /**
   * 图片2-6
   */
  private String injuryImage2;
  private String injuryImage3;
  private String injuryImage4;
  private String injuryImage5;
  private String injuryImage6;

  /**
   * 创建时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime createdAt;

  /**
   * 更新时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime updatedAt;

  /**
   * 状态
   */
  private String status;

  /**
   * 评估类型
   */
  private String evaluationType;

  /**
   * 线下预约信息（如果有）
   */
  private OfflineAssessmentAppointment offlineAppointment;

  /**
   * 线上预约信息（如果有）
   */
  private OnlineAssessmentAppointment onlineAppointment;
}